Pearson Edexcel · A-Level · Mathematics

    Course version: 603/1499/0 · Version from Sept 2017

    Decision Mathematics 1

    Full specification wording

    Algorithms on graphs II - Paper 3D: Decision Mathematics 1: 3.2 The classical problem for complete graphs satisfying the triangle inequality.

    For the classical Travelling Salesman problem the graph is complete, so every pair of vertices is joined.

    • Point 3 of 5

    Study notes

    From the teaching notes for this specification point.

    The idea

    For the classical Travelling Salesman problem the graph is complete, so every pair of vertices is joined. When the edge weights also satisfy the triangle inequality, the direct journey between any two vertices is no longer than a journey routed through a third vertex. This property underpins the use of minimum spanning trees and nearest-neighbour tours to bound the optimal tour. Check the inequality by testing whether the direct edge is the shortest link for each triple of vertices. If a table of distances violates it, the network does not satisfy the triangle inequality and those bounding methods must be treated with care.

    What earns the marks

    • States that a complete graph joins every pair of vertices with an edge.
    • Explains that the triangle inequality requires the direct edge between two vertices to be no longer than a route through a third vertex.
    • Tests the triangle inequality by comparing a direct edge with the sum of two others for a triple of vertices.
    • Links the triangle inequality to the validity of minimum spanning tree and nearest-neighbour bounds on the optimal tour.

    Common mistakes and how to put them right

    • Assumes every complete graph satisfies the triangle inequality.

      Put it right: Test each relevant triple of vertices.

    • Compares the wrong edges when checking the inequality.

      Put it right: Use the two edges forming the alternative route through a third vertex.

    • Applies minimum spanning tree bounds without confirming the triangle inequality holds.

      Put it right: Check the condition first.

    Exam tips

    • Confirm the graph is complete before applying triangle-inequality reasoning.
    • Test the inequality on a specific triple and show the arithmetic.
    • Connect the condition to the bounding method being used.

    Try the lesson

    The start of the Algorithms on graphs II - Paper 3D: Decision Mathematics 1: 3.2 The classical problem for complete graphs satisfying the triangle inequality. lesson, made from teaching notes for this specification point.

    Have a go first

    A complete graph on five vertices has every pair of vertices joined by an edge whose weight satisfies the triangle inequality. What does the triangle inequality guarantee about the edge directly joining two vertices compared with any route between them through other vertices?

    There is more to this lesson

    The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.

    Carry on with the full lesson

    5 free practice questions every day · Free forever · No card required

    Test your understanding of Algorithms on graphs II - Paper 3D: Decision Mathematics 1: 3.2 The classical problem for complete graphs satisfying the triangle inequality.

    Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.

    Take topic quiz

    5 free practice questions every day · Free forever · No card required